﻿<Fluent:RibbonWindow x:Class="PowerManager.Application.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Fluent="clr-namespace:Fluent;assembly=Fluent"
        Title="MainWindow" Height="350" Width="525">
    
    <DockPanel>
        <Fluent:Ribbon DockPanel.Dock="Top" >
            <Fluent:Ribbon.ContextualGroups>
                <Fluent:RibbonContextualTabGroup Visibility="Visible" Header="Tools" x:Name="ToolGroup"  Background="Green" BorderBrush="Green" />
            </Fluent:Ribbon.ContextualGroups>
            
            <Fluent:Ribbon.QuickAccessItems>
                <Fluent:QuickAccessMenuItem IsChecked="True"></Fluent:QuickAccessMenuItem>
            </Fluent:Ribbon.QuickAccessItems>            

            <Fluent:Ribbon.Menu>
                <Fluent:Backstage Header="PowerManager" >
                </Fluent:Backstage>
            </Fluent:Ribbon.Menu>

            <Fluent:RibbonTabItem Header="拓扑结构"></Fluent:RibbonTabItem>
            <Fluent:RibbonTabItem Header="设备管理"></Fluent:RibbonTabItem>
            <Fluent:RibbonTabItem Header="Tab3"></Fluent:RibbonTabItem>
            <Fluent:RibbonTabItem Header="Tab4"></Fluent:RibbonTabItem>
            
            <Fluent:RibbonTabItem Header="Tool" Group="{Binding ElementName=ToolGroup}"></Fluent:RibbonTabItem>
        </Fluent:Ribbon>
        <DockPanel>
            
        </DockPanel>
        <Fluent:StatusBar DockPanel.Dock="Bottom" Height="20" />
        <Fluent:GalleryPanel DockPanel.Dock="Bottom" Background="Gray"/>
    </DockPanel>
</Fluent:RibbonWindow>
